<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html>
<html lang="en">
<head>

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    

    <title>SB Admin 2 - Cards</title>

    <!-- Custom fonts for this template-->
    <link href="../vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
    <link
        href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
        rel="stylesheet">

    <!-- Custom styles for this template-->
    <link href="../css/sb-admin-2.min.css" rel="stylesheet">

</head>

<body id="page-top">
<%@ include file="../components/checkLoginState.jsp"%>
    <!-- Page Wrapper -->
    <div id="wrapper">

        <!-- Sidebar -->
        <jsp:include page="leftMenu.jsp"/>
        <!-- End of Sidebar -->

         <!-- Content Wrapper -->
        <div id="content-wrapper" class="d-flex flex-column">

            <!-- Main Content -->
            <div id="content">

                <!-- Topbar -->
                <jsp:include page="../components/topBar.jsp"/>
                <!-- End of Topbar -->

                <!-- Begin Page Content -->
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12">

                            <div class="card shadow mb-4">
                                <div class="card-body">
                                    <div class="container" >
                                        <div class="row">
                                            <div class="col-sm">
                                                <p></p>
                                            </div>
                                            <div class="col-sm">
                                                <h1 class="h1 mb-4 font-weight-bold text-gray-800">创建新的试题</h1>
                                            </div>
                                            <div class="col-sm">
                                                <p></p>
                                            </div>
                                        </div><br>

                                        <div>
                                           <div class="form-inline mb-5 row" align="center" >
											   
											   
												  <div class="form-group mx-sm-3 mb-2 ">
												    <h4>试题名称：</h4>
												    <input  class="form-control " type="text" name="testName" id="testName" >
												  </div>
												  
												  <div class="form-group mx-sm-3 mb-2">
												    <h4>总分值：</h4>
												    <input class="form-control col-md-6 col-xm-4" id="totalPoint" >
												  </div>
												  
												  <div class="form-group mx-sm-3 mb-2">
												    <h4>共</h4>
												    <input class="form-control col-md-3 col-xm-4" id="partNum" >
												    <h4>部分</h4>
												  </div>

										  </div><br>
										  
										  <div  id="parts">
                                        
                                          </div>  
										  
										  <div class="form-group mx-sm-3 mb-2" align="center">
												    <button class="btn btn-outline-success btn-lg" type="button" id="defineTest">确定</button>
										  </div>
										  <div id="preserveButton">
										     <div class="form-group mx-sm-3 mb-2" align="center"><button class="btn btn-outline-success btn-lg" id="preserve" disabled="disabled">提交</button></div>
										  </div>
									   </div>
															      
											
                                                 
		                                    
                                            
                                        
                                                     
                                    
                                        <img src="../img/begin.jpg" class="figure-img img-fluid rounded" alt="Responsive image">
                                    </div>
                                </div><!--End of Card-body-->
                            </div><!--End of Card-->

                        </div>
                    </div>
                </div>

            </div>
            <!-- End of Main Content -->
            
            <!-- Footer -->
            <jsp:include page="../components/copyright.jsp"/>
            <!-- End of Footer -->
        
        </div>
        <!-- End of Content Wrapper -->
    
    </div>
    <!-- End of Page Wrapper -->

    <!-- Scroll to Top Button-->
    <a class="scroll-to-top rounded" href="#page-top">
        <i class="fas fa-angle-up"></i>
    </a>

    <!-- Logout Modal-->
    <jsp:include page="../components/Logout.jsp"/>

    <!-- Bootstrap core JavaScript-->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- Core plugin JavaScript-->
    <script src="vendor/jquery-easing/jquery.easing.min.js"></script>

    <!-- Custom scripts for all pages-->
    <script src="js/sb-admin-2.min.js"></script>
    
    <script src="../js/jquery.js"></script>
    
    <script src="js/createTest.js"></script>

</body>

</html>